<?php
return [
    '/' => [
           'method' => 'get',
           'action' => 'AlbumController@index'
    ],
    
    'index' => [
           'method' => 'get',
           'action' => 'AlbumController@index'
    ],

    'auth/register' => [
           'method' => 'get',
           'action' => 'AuthenticateController@register'
    ],

    'auth/registerAction' => [
            'method' => 'post',
            'action' => 'AuthenticateController@registerAction'
    ],

    'auth/login' => [
            'method' => 'get',
            'action' => 'AuthenticateController@login'
    ],

    'auth/loginAction' => [
            'method' => 'post',
            'action' => 'AuthenticateController@loginAction'
    ],

     'album/logout' => [
            'method' => 'get',
            'action' => 'AlbumController@logout'
    ],

    'album/create' => [
            'method' => 'get',
            'action' => 'AlbumController@create'
    ],

    'album/delete' => [
            'method' => 'get',
            'action' => 'AlbumController@delete'
    ],

    'album/store' => [
            'method' => 'post',
            'action' => 'AlbumController@store'
    ],

    'album/detail' => [
            'method' => 'get',
            'action' => 'AlbumController@detail'
    ],

    'image/edit' => [
            'method' => 'get',
            'action' => 'ImageController@edit'
    ],

    'image/update' => [
            'method' => 'post',
            'action' => 'ImageController@update'
    ],

    'image/delete' => [
            'method' => 'get',
            'action' => 'ImageController@delete'
    ],

    'image/add' => [
            'method' => 'get',
            'action' => 'ImageController@add'
    ],

    'image/upload' => [
            'method' => 'post',
            'action' => 'ImageController@upload'
    ]
];